package com.shixulin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shixulin.entity.PaperQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * (PaperQuestion)表数据库访问层
 *
 * @author makejava
 * @since 2023-11-20 19:06:14
 */
@Mapper
@Repository
public interface PaperQuestionMapper extends BaseMapper<PaperQuestion> {

    boolean saveQuestions(List<PaperQuestion> paperQuestion);

    Boolean deletePaper(int paperId);

    boolean deleteExamQuestion(int questionId);

    boolean deletePaperQuestionById(int paperId);

//    void insertCreateTime(String formatTime);
}
